<!-- This comment will put IE 6, 7 and 8 in quirks mode -->
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
<head>
<meta http-equiv="Content-Type" content="text/xhtml;charset=UTF-8"/>
<title>FEUP-Defender: RealTimeController</title>
<link href="../../tabs.css" rel="stylesheet" type="text/css"/>
<link href="../../search/search.css" rel="stylesheet" type="text/css"/>
<script type="text/javaScript" src="../../search/search.js"></script>
<link href="../../doxygen.css" rel="stylesheet" type="text/css"/>
</head>
<body onload='searchBox.OnSelectItem(0);'>
<!-- Gerado por Doxygen 1.6.3 -->
<script type="text/javascript"><!--
var searchBox = new SearchBox("searchBox", "../../search",false,'Localizar');
--></script>
<script type="text/javascript">
<!--
function changeDisplayState (e){
  var num=this.id.replace(/[^[0-9]/g,'');
  var button=this.firstChild;
  var sectionDiv=document.getElementById('dynsection'+num);
  if (sectionDiv.style.display=='none'||sectionDiv.style.display==''){
    sectionDiv.style.display='block';
    button.src='../../open.gif';
  }else{
    sectionDiv.style.display='none';
    button.src='../../closed.gif';
  }
}
function initDynSections(){
  var divs=document.getElementsByTagName('div');
  var sectionCounter=1;
  for(var i=0;i<divs.length-1;i++){
    if(divs[i].className=='dynheader'&&divs[i+1].className=='dynsection'){
      var header=divs[i];
      var section=divs[i+1];
      var button=header.firstChild;
      if (button!='IMG'){
        divs[i].insertBefore(document.createTextNode(' '),divs[i].firstChild);
        button=document.createElement('img');
        divs[i].insertBefore(button,divs[i].firstChild);
      }
      header.style.cursor='pointer';
      header.onclick=changeDisplayState;
      header.id='dynheader'+sectionCounter;
      button.src='../../closed.gif';
      section.id='dynsection'+sectionCounter;
      section.style.display='none';
      section.style.marginLeft='14px';
      sectionCounter++;
    }
  }
}
window.onload = initDynSections;
-->
</script>
<div class="navigation" id="top">
  <div class="tabs">
    <ul>
      <li><a href="../../index.html"><span>Página&nbsp;principal</span></a></li>
      <li><a href="../../modules.html"><span>Módulos</span></a></li>
      <li><a href="../../annotated.html"><span>Estruturas&nbsp;de&nbsp;dados</span></a></li>
      <li><a href="../../files.html"><span>Ficheiros</span></a></li>
      <li><a href="../../dirs.html"><span>Directories</span></a></li>
      <li>
        <div id="MSearchBox" class="MSearchBoxInactive">
        <img id="MSearchSelect" src="../../search/search.png"
             onmouseover="return searchBox.OnSearchSelectShow()"
             onmouseout="return searchBox.OnSearchSelectHide()"
             alt=""/>
        <input type="text" id="MSearchField" value="Localizar" accesskey="S"
             onfocus="searchBox.OnSearchFieldFocus(true)" 
             onblur="searchBox.OnSearchFieldFocus(false)" 
             onkeyup="searchBox.OnSearchFieldChange(event)"/>
        <a id="MSearchClose" href="javascript:searchBox.CloseResultsWindow()"><img id="MSearchCloseImg" border="0" src="../../search/close.png" alt=""/></a>
        </div>
      </li>
    </ul>
  </div>
</div>
<div class="contents">
<h1>RealTimeController</h1><table border="0" cellpadding="0" cellspacing="0">
<tr><td colspan="2"><h2>Estruturas de Dados</h2></td></tr>
<tr><td class="memItemLeft" align="right" valign="top">struct &nbsp;</td><td class="memItemRight" valign="bottom"><a class="el" href="../../dd/d66/structRTC__DATE.html">RTC_DATE</a></td></tr>
<tr><td class="memItemLeft" align="right" valign="top">struct &nbsp;</td><td class="memItemRight" valign="bottom"><a class="el" href="../../d1/de0/structRTC__TIME.html">RTC_TIME</a></td></tr>
<tr><td colspan="2"><h2>Funções</h2></td></tr>
<tr><td class="memItemLeft" align="right" valign="top"><a class="el" href="../../d8/db9/group__UserTypes.html#gae3a497195d617519e5353ea7b417940f">Byte</a>&nbsp;</td><td class="memItemRight" valign="bottom"><a class="el" href="../../dd/da5/group__RealTimeController.html#ga839845a3a9f35e3860e525cfe86f3405">bcd2dec</a> (<a class="el" href="../../d8/db9/group__UserTypes.html#gae3a497195d617519e5353ea7b417940f">Byte</a> i)</td></tr>
<tr><td class="memItemLeft" align="right" valign="top"><a class="el" href="../../d8/db9/group__UserTypes.html#gae3a497195d617519e5353ea7b417940f">Byte</a>&nbsp;</td><td class="memItemRight" valign="bottom"><a class="el" href="../../dd/da5/group__RealTimeController.html#ga4b857d1c0d66ceaf587d2343881252c1">dec2bcd</a> (<a class="el" href="../../d8/db9/group__UserTypes.html#gae3a497195d617519e5353ea7b417940f">Byte</a> i)</td></tr>
<tr><td class="memItemLeft" align="right" valign="top"><a class="el" href="../../d8/db9/group__UserTypes.html#gae3a497195d617519e5353ea7b417940f">Byte</a>&nbsp;</td><td class="memItemRight" valign="bottom"><a class="el" href="../../dd/da5/group__RealTimeController.html#ga4a59b403e6b8da03106ab2a09ec2431f">read_rtc</a> (<a class="el" href="../../d8/db9/group__UserTypes.html#gae3a497195d617519e5353ea7b417940f">Byte</a> add)</td></tr>
<tr><td class="memItemLeft" align="right" valign="top"><a class="el" href="../../d8/db9/group__UserTypes.html#gae3a497195d617519e5353ea7b417940f">Byte</a>&nbsp;</td><td class="memItemRight" valign="bottom"><a class="el" href="../../dd/da5/group__RealTimeController.html#ga433f5ef3940f2cce7b17aa9771080516">read_rtcv</a> (<a class="el" href="../../d8/db9/group__UserTypes.html#gae3a497195d617519e5353ea7b417940f">Byte</a> add)</td></tr>
<tr><td class="memItemLeft" align="right" valign="top">void&nbsp;</td><td class="memItemRight" valign="bottom"><a class="el" href="../../dd/da5/group__RealTimeController.html#gaf9fab10f77d4ba102dce19c433779e91">rtc_int_disable</a> ()</td></tr>
<tr><td class="memItemLeft" align="right" valign="top">void&nbsp;</td><td class="memItemRight" valign="bottom"><a class="el" href="../../dd/da5/group__RealTimeController.html#ga7e1c48bd3deb14214922fa7b179a4f97">rtc_int_enable</a> ()</td></tr>
<tr><td class="memItemLeft" align="right" valign="top">void&nbsp;</td><td class="memItemRight" valign="bottom"><a class="el" href="../../dd/da5/group__RealTimeController.html#ga5d4cf2f0b16521c81d780708f511f6b2">rtc_int_enable_periodic</a> ()</td></tr>
<tr><td class="memItemLeft" align="right" valign="top">void&nbsp;</td><td class="memItemRight" valign="bottom"><a class="el" href="../../dd/da5/group__RealTimeController.html#ga41fd5f9c71342629f1149063251e3827">rtc_read_alarm</a> (<a class="el" href="../../d1/de0/structRTC__TIME.html">RTC_TIME</a> *)</td></tr>
<tr><td class="memItemLeft" align="right" valign="top">void&nbsp;</td><td class="memItemRight" valign="bottom"><a class="el" href="../../dd/da5/group__RealTimeController.html#gaef01346a833632b8540100f23fecdd09">rtc_read_date</a> (<a class="el" href="../../dd/d66/structRTC__DATE.html">RTC_DATE</a> *)</td></tr>
<tr><td class="memItemLeft" align="right" valign="top">void&nbsp;</td><td class="memItemRight" valign="bottom"><a class="el" href="../../dd/da5/group__RealTimeController.html#ga3554832f0cd4b7366219d8c1aa9ae321">rtc_read_time</a> (<a class="el" href="../../d1/de0/structRTC__TIME.html">RTC_TIME</a> *)</td></tr>
<tr><td class="memItemLeft" align="right" valign="top">void&nbsp;</td><td class="memItemRight" valign="bottom"><a class="el" href="../../dd/da5/group__RealTimeController.html#gae9b349676544e84360bb9278ef4c0a96">rtc_valid</a> ()</td></tr>
<tr><td class="memItemLeft" align="right" valign="top">void&nbsp;</td><td class="memItemRight" valign="bottom"><a class="el" href="../../dd/da5/group__RealTimeController.html#gab5992248e26867cf6bb3b08aa822b37e">rtc_write_alarm</a> (<a class="el" href="../../d1/de0/structRTC__TIME.html">RTC_TIME</a> *)</td></tr>
<tr><td class="memItemLeft" align="right" valign="top">void&nbsp;</td><td class="memItemRight" valign="bottom"><a class="el" href="../../dd/da5/group__RealTimeController.html#ga18c4e040accb4c214682d5605f596e60">write_rtc</a> (<a class="el" href="../../d8/db9/group__UserTypes.html#gae3a497195d617519e5353ea7b417940f">Byte</a> add, <a class="el" href="../../d8/db9/group__UserTypes.html#gae3a497195d617519e5353ea7b417940f">Byte</a> value)</td></tr>
<tr><td class="memItemLeft" align="right" valign="top">void&nbsp;</td><td class="memItemRight" valign="bottom"><a class="el" href="../../dd/da5/group__RealTimeController.html#ga28ed5315f068afb9339b74dd434c04bd">write_rtcv</a> (<a class="el" href="../../d8/db9/group__UserTypes.html#gae3a497195d617519e5353ea7b417940f">Byte</a> add, <a class="el" href="../../d8/db9/group__UserTypes.html#gae3a497195d617519e5353ea7b417940f">Byte</a> value)</td></tr>
<tr><td colspan="2"><h2>The RTC registers</h2></td></tr>
<tr><td colspan="2"><p><a class="anchor" id="amgrp0e9d1303ea5fcec8cdcf992099c25cc6"></a> </p>
<br/><br/></td></tr>
<tr><td class="memItemLeft" align="right" valign="top">enum &nbsp;</td><td class="memItemRight" valign="bottom"><a class="el" href="../../dd/da5/group__RealTimeController.html#ga4051745dcfaaa1c281868946401582bd">rtc_regs</a> { <br/>
&nbsp;&nbsp;<a class="el" href="../../dd/da5/group__RealTimeController.html#gga4051745dcfaaa1c281868946401582bda263b763bd1d036aaba2ecd16f4f49009">SEC</a>, 
<a class="el" href="../../dd/da5/group__RealTimeController.html#gga4051745dcfaaa1c281868946401582bdabe6e4050d867424272336434fc131134">SEC_ALARM</a>, 
<a class="el" href="../../dd/da5/group__RealTimeController.html#gga4051745dcfaaa1c281868946401582bda957e8250f68e7b5677b22397c2c1b51e">MIN</a>, 
<a class="el" href="../../dd/da5/group__RealTimeController.html#gga4051745dcfaaa1c281868946401582bda0096be9b850950742fdd13b90d91d317">MIN_ALARM</a>, 
<br/>
&nbsp;&nbsp;<a class="el" href="../../dd/da5/group__RealTimeController.html#gga4051745dcfaaa1c281868946401582bda79aab2da0ce6d416b78895cf20661b35">HOUR</a>, 
<a class="el" href="../../dd/da5/group__RealTimeController.html#gga4051745dcfaaa1c281868946401582bdae172d714c8134dc3a5853ab71785458e">HOUR_ALARM</a>, 
<a class="el" href="../../dd/da5/group__RealTimeController.html#gga4051745dcfaaa1c281868946401582bdafcbd115094109e01349d665182e6d8ac">WEEK_DAY</a>, 
<a class="el" href="../../dd/da5/group__RealTimeController.html#gga4051745dcfaaa1c281868946401582bda3421dd8aaa65527fa89169fae5508960">MONTH_DAY</a>, 
<br/>
&nbsp;&nbsp;<a class="el" href="../../dd/da5/group__RealTimeController.html#gga4051745dcfaaa1c281868946401582bda959a3fc667edf9cb70980483c949103a">MONTH</a>, 
<a class="el" href="../../dd/da5/group__RealTimeController.html#gga4051745dcfaaa1c281868946401582bdad327b6aedde7e5aa6a122dd9e2154f45">YEAR</a>, 
<a class="el" href="../../dd/da5/group__RealTimeController.html#gga4051745dcfaaa1c281868946401582bda12855477f8c619848606371e3b6b1658">RTC_STAT_A</a>, 
<a class="el" href="../../dd/da5/group__RealTimeController.html#gga4051745dcfaaa1c281868946401582bda08bfa74244e769d63ef7da8cc4b03133">RTC_STAT_B</a>, 
<br/>
&nbsp;&nbsp;<a class="el" href="../../dd/da5/group__RealTimeController.html#gga4051745dcfaaa1c281868946401582bda9e3a7af6b789b820eb9f4c3bd703416f">RTC_STAT_C</a>, 
<a class="el" href="../../dd/da5/group__RealTimeController.html#gga4051745dcfaaa1c281868946401582bda69db80366492ee8682c08281e3bedcdd">RTC_STAT_D</a>
<br/>
 }</td></tr>
<tr><td colspan="2"><h2>Bit Meaning in STAT-B register</h2></td></tr>
<tr><td colspan="2"><p><a class="anchor" id="amgrpbcafe01008835cf8c5d1f114c898d03d"></a> </p>
<br/><br/></td></tr>
<tr><td class="memItemLeft" align="right" valign="top">#define&nbsp;</td><td class="memItemRight" valign="bottom"><a class="el" href="../../dd/da5/group__RealTimeController.html#ga4d3c383e9185072b666e8ed980d20471">RTC_12_24</a>&nbsp;&nbsp;&nbsp;(1 &lt;&lt; 1)</td></tr>
<tr><td class="mdescLeft">&nbsp;</td><td class="mdescRight">1-24 hours, 0-12 hours  <a href="#ga4d3c383e9185072b666e8ed980d20471"></a><br/></td></tr>
<tr><td class="memItemLeft" align="right" valign="top">#define&nbsp;</td><td class="memItemRight" valign="bottom"><a class="el" href="../../dd/da5/group__RealTimeController.html#ga6a293d49e03a7f92a09cbb02fb49a08e">RTC_AIE</a>&nbsp;&nbsp;&nbsp;(1 &lt;&lt; 5)</td></tr>
<tr><td class="mdescLeft">&nbsp;</td><td class="mdescRight">1-Alarm interrupt enable  <a href="#ga6a293d49e03a7f92a09cbb02fb49a08e"></a><br/></td></tr>
<tr><td class="memItemLeft" align="right" valign="top">#define&nbsp;</td><td class="memItemRight" valign="bottom"><a class="el" href="../../dd/da5/group__RealTimeController.html#gafe5d31647d8882e7fa9ea7030baa2780">RTC_DM</a>&nbsp;&nbsp;&nbsp;(1 &lt;&lt; 2)</td></tr>
<tr><td class="mdescLeft">&nbsp;</td><td class="mdescRight">Data Mode, 1-Binary, 0-BCD.  <a href="#gafe5d31647d8882e7fa9ea7030baa2780"></a><br/></td></tr>
<tr><td class="memItemLeft" align="right" valign="top">#define&nbsp;</td><td class="memItemRight" valign="bottom"><a class="el" href="../../dd/da5/group__RealTimeController.html#ga18836ba9bcbd0bee568bdd21b163cae1">RTC_DSE</a>&nbsp;&nbsp;&nbsp;(1 &lt;&lt; 0)</td></tr>
<tr><td class="mdescLeft">&nbsp;</td><td class="mdescRight">1-Day-light saving  <a href="#ga18836ba9bcbd0bee568bdd21b163cae1"></a><br/></td></tr>
<tr><td class="memItemLeft" align="right" valign="top">#define&nbsp;</td><td class="memItemRight" valign="bottom"><a class="el" href="../../dd/da5/group__RealTimeController.html#ga8aa3ee782d809767b9e03c49c7756083">RTC_PIE</a>&nbsp;&nbsp;&nbsp;(1 &lt;&lt; 6)</td></tr>
<tr><td class="mdescLeft">&nbsp;</td><td class="mdescRight">1-Periodic interrupt enable  <a href="#ga8aa3ee782d809767b9e03c49c7756083"></a><br/></td></tr>
<tr><td class="memItemLeft" align="right" valign="top">#define&nbsp;</td><td class="memItemRight" valign="bottom"><a class="el" href="../../dd/da5/group__RealTimeController.html#gaac2db7539ba4f42b7a399faedc23df39">RTC_SET</a>&nbsp;&nbsp;&nbsp;(1 &lt;&lt; 7)</td></tr>
<tr><td class="mdescLeft">&nbsp;</td><td class="mdescRight">1-Stop updating, 0-update normally  <a href="#gaac2db7539ba4f42b7a399faedc23df39"></a><br/></td></tr>
<tr><td class="memItemLeft" align="right" valign="top">#define&nbsp;</td><td class="memItemRight" valign="bottom"><a class="el" href="../../dd/da5/group__RealTimeController.html#ga1f8f94a2096173944bc82fec3e9bbd8a">RTC_SQWE</a>&nbsp;&nbsp;&nbsp;(1 &lt;&lt; 3)</td></tr>
<tr><td class="mdescLeft">&nbsp;</td><td class="mdescRight">1-Square Wave Enable  <a href="#ga1f8f94a2096173944bc82fec3e9bbd8a"></a><br/></td></tr>
<tr><td class="memItemLeft" align="right" valign="top">#define&nbsp;</td><td class="memItemRight" valign="bottom"><a class="el" href="../../dd/da5/group__RealTimeController.html#ga3fa059415b73592c094cd9a3f79e6795">RTC_UIE</a>&nbsp;&nbsp;&nbsp;(1 &lt;&lt; 4)</td></tr>
<tr><td class="mdescLeft">&nbsp;</td><td class="mdescRight">1-Update-ended interrupt enable  <a href="#ga3fa059415b73592c094cd9a3f79e6795"></a><br/></td></tr>
<tr><td colspan="2"><h2>PC I/O register address used to comunicate with the RTC</h2></td></tr>
<tr><td colspan="2"><p><a class="anchor" id="amgrpfcd50b13e62b4fe3cb47e15804c52433"></a> </p>
<br/><br/></td></tr>
<tr><td class="memItemLeft" align="right" valign="top">#define&nbsp;</td><td class="memItemRight" valign="bottom"><a class="el" href="../../dd/da5/group__RealTimeController.html#ga710b98232df2c563009e6f8a6cd18220">RTC_ADDR_REG</a>&nbsp;&nbsp;&nbsp;0x70</td></tr>
<tr><td class="mdescLeft">&nbsp;</td><td class="mdescRight">I/O address that contains the RTC address to communicate with.  <a href="#ga710b98232df2c563009e6f8a6cd18220"></a><br/></td></tr>
<tr><td class="memItemLeft" align="right" valign="top">#define&nbsp;</td><td class="memItemRight" valign="bottom"><a class="el" href="../../dd/da5/group__RealTimeController.html#ga2f258a00c59c3f347c8d2d4a75471ce0">RTC_DATA_REG</a>&nbsp;&nbsp;&nbsp;0x71</td></tr>
<tr><td class="mdescLeft">&nbsp;</td><td class="mdescRight">I/O address that contains the data read from or written to the RTC.  <a href="#ga2f258a00c59c3f347c8d2d4a75471ce0"></a><br/></td></tr>
<tr><td colspan="2"><h2>Bit Meaning in STAT-C register</h2></td></tr>
<tr><td colspan="2"><p><a class="anchor" id="amgrp3617b812d32487a86e476f6014306496"></a> </p>
<br/><br/></td></tr>
<tr><td class="memItemLeft" align="right" valign="top">#define&nbsp;</td><td class="memItemRight" valign="bottom"><a class="el" href="../../dd/da5/group__RealTimeController.html#ga0ed62fab6c50790f2c4b71849f2000b2">RTC_AF</a>&nbsp;&nbsp;&nbsp;(1 &lt;&lt; 5)</td></tr>
<tr><td class="mdescLeft">&nbsp;</td><td class="mdescRight">1-Alarm interrupt occurred  <a href="#ga0ed62fab6c50790f2c4b71849f2000b2"></a><br/></td></tr>
<tr><td class="memItemLeft" align="right" valign="top">#define&nbsp;</td><td class="memItemRight" valign="bottom"><a class="el" href="../../dd/da5/group__RealTimeController.html#ga01c8262113ddc3b618fb7c97395ed142">RTC_IRQF</a>&nbsp;&nbsp;&nbsp;(1 &lt;&lt; 7)</td></tr>
<tr><td class="mdescLeft">&nbsp;</td><td class="mdescRight">1-An interrupt occurred, if PF=PIE=1 || AF=AIE=1 || UF=UIE=1  <a href="#ga01c8262113ddc3b618fb7c97395ed142"></a><br/></td></tr>
<tr><td class="memItemLeft" align="right" valign="top">#define&nbsp;</td><td class="memItemRight" valign="bottom"><a class="el" href="../../dd/da5/group__RealTimeController.html#ga9d9fa73fa39aa2500273df240594afe6">RTC_PF</a>&nbsp;&nbsp;&nbsp;(1 &lt;&lt; 6)</td></tr>
<tr><td class="mdescLeft">&nbsp;</td><td class="mdescRight">1-Periodic interrupt occurred  <a href="#ga9d9fa73fa39aa2500273df240594afe6"></a><br/></td></tr>
<tr><td class="memItemLeft" align="right" valign="top">#define&nbsp;</td><td class="memItemRight" valign="bottom"><a class="el" href="../../dd/da5/group__RealTimeController.html#ga7c63615d9172c9065f5b9d1875ef6d04">RTC_UF</a>&nbsp;&nbsp;&nbsp;(1 &lt;&lt; 4)</td></tr>
<tr><td class="mdescLeft">&nbsp;</td><td class="mdescRight">1-Update interrupt occurred  <a href="#ga7c63615d9172c9065f5b9d1875ef6d04"></a><br/></td></tr>
<tr><td colspan="2"><h2>Bit Meaning in STAT-A register</h2></td></tr>
<tr><td colspan="2"><p><a class="anchor" id="amgrpe3be79aa45f0a16507fe65c761442f27"></a> </p>
<br/><br/></td></tr>
<tr><td class="memItemLeft" align="right" valign="top">#define&nbsp;</td><td class="memItemRight" valign="bottom"><a class="el" href="../../dd/da5/group__RealTimeController.html#ga5911071bc2a9af2eedbabd20b1daf528">RTC_DV0</a>&nbsp;&nbsp;&nbsp;(1 &lt;&lt; 4)</td></tr>
<tr><td class="mdescLeft">&nbsp;</td><td class="mdescRight">Divider.  <a href="#ga5911071bc2a9af2eedbabd20b1daf528"></a><br/></td></tr>
<tr><td class="memItemLeft" align="right" valign="top">#define&nbsp;</td><td class="memItemRight" valign="bottom"><a class="el" href="../../dd/da5/group__RealTimeController.html#gab24bb577503d1089e9257cb1172bdf23">RTC_DV1</a>&nbsp;&nbsp;&nbsp;(1 &lt;&lt; 5)</td></tr>
<tr><td class="mdescLeft">&nbsp;</td><td class="mdescRight">Divider.  <a href="#gab24bb577503d1089e9257cb1172bdf23"></a><br/></td></tr>
<tr><td class="memItemLeft" align="right" valign="top">#define&nbsp;</td><td class="memItemRight" valign="bottom"><a class="el" href="../../dd/da5/group__RealTimeController.html#ga3e0bb1b127052d36bc4e5ef91e92fb89">RTC_DV2</a>&nbsp;&nbsp;&nbsp;(1 &lt;&lt; 6)</td></tr>
<tr><td class="mdescLeft">&nbsp;</td><td class="mdescRight">Divider.  <a href="#ga3e0bb1b127052d36bc4e5ef91e92fb89"></a><br/></td></tr>
<tr><td class="memItemLeft" align="right" valign="top">#define&nbsp;</td><td class="memItemRight" valign="bottom"><a class="el" href="../../dd/da5/group__RealTimeController.html#ga722a880e324ceace4b3bd27d2a540404">RTC_RS0</a>&nbsp;&nbsp;&nbsp;(1 &lt;&lt; 0)</td></tr>
<tr><td class="mdescLeft">&nbsp;</td><td class="mdescRight">Rate selector.  <a href="#ga722a880e324ceace4b3bd27d2a540404"></a><br/></td></tr>
<tr><td class="memItemLeft" align="right" valign="top">#define&nbsp;</td><td class="memItemRight" valign="bottom"><a class="el" href="../../dd/da5/group__RealTimeController.html#gaf2b4f805675fd966c3c4173780b7b15b">RTC_RS1</a>&nbsp;&nbsp;&nbsp;(1 &lt;&lt; 1)</td></tr>
<tr><td class="mdescLeft">&nbsp;</td><td class="mdescRight">Rate selector.  <a href="#gaf2b4f805675fd966c3c4173780b7b15b"></a><br/></td></tr>
<tr><td class="memItemLeft" align="right" valign="top">#define&nbsp;</td><td class="memItemRight" valign="bottom"><a class="el" href="../../dd/da5/group__RealTimeController.html#ga54d2328341e35419ce7111c8cf3b9d57">RTC_RS2</a>&nbsp;&nbsp;&nbsp;(1 &lt;&lt; 2)</td></tr>
<tr><td class="mdescLeft">&nbsp;</td><td class="mdescRight">Rate selector.  <a href="#ga54d2328341e35419ce7111c8cf3b9d57"></a><br/></td></tr>
<tr><td class="memItemLeft" align="right" valign="top">#define&nbsp;</td><td class="memItemRight" valign="bottom"><a class="el" href="../../dd/da5/group__RealTimeController.html#ga151a2d40d9019b24ebc14861bbd67551">RTC_RS3</a>&nbsp;&nbsp;&nbsp;(1 &lt;&lt; 3)</td></tr>
<tr><td class="mdescLeft">&nbsp;</td><td class="mdescRight">Rate selector.  <a href="#ga151a2d40d9019b24ebc14861bbd67551"></a><br/></td></tr>
<tr><td class="memItemLeft" align="right" valign="top">#define&nbsp;</td><td class="memItemRight" valign="bottom"><a class="el" href="../../dd/da5/group__RealTimeController.html#ga2ebe3d816d8b2e9f1be075554e4135b3">RTC_UIP</a>&nbsp;&nbsp;&nbsp;(1 &lt;&lt; 7)</td></tr>
<tr><td class="mdescLeft">&nbsp;</td><td class="mdescRight">1-update in progress, 0-data valid for next 244 usec  <a href="#ga2ebe3d816d8b2e9f1be075554e4135b3"></a><br/></td></tr>
<tr><td colspan="2"><h2>Bit Meaning in STAT-D register</h2></td></tr>
<tr><td colspan="2"><p><a class="anchor" id="amgrp0b91534a839052d2c1ad954e5c07a35d"></a> </p>
<br/><br/></td></tr>
<tr><td class="memItemLeft" align="right" valign="top">#define&nbsp;</td><td class="memItemRight" valign="bottom"><a class="el" href="../../dd/da5/group__RealTimeController.html#ga35577ed27885901641e6120257455adb">RTC_VRT</a>&nbsp;&nbsp;&nbsp;(1 &lt;&lt; 7)</td></tr>
<tr><td class="mdescLeft">&nbsp;</td><td class="mdescRight">1-Valid RAM and time  <a href="#ga35577ed27885901641e6120257455adb"></a><br/></td></tr>
</table>
<hr/><a name="_details"></a><h2>Descrição detalhada</h2>
<p>Real Time Controller related functions </p>
<hr/><h2>Documentação das macros</h2>
<a class="anchor" id="ga4d3c383e9185072b666e8ed980d20471"></a><!-- doxytag: member="rtc.h::RTC_12_24" ref="ga4d3c383e9185072b666e8ed980d20471" args="" -->
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">#define RTC_12_24&nbsp;&nbsp;&nbsp;(1 &lt;&lt; 1)</td>
        </tr>
      </table>
</div>
<div class="memdoc">

<p>1-24 hours, 0-12 hours </p>

<p>Definido na linha <a class="el" href="../../dc/d1b/rtc_8h_source.html#l00067">67</a> do ficheiro <a class="el" href="../../dc/d1b/rtc_8h_source.html">rtc.h</a>.</p>

</div>
</div>
<a class="anchor" id="ga710b98232df2c563009e6f8a6cd18220"></a><!-- doxytag: member="rtc.h::RTC_ADDR_REG" ref="ga710b98232df2c563009e6f8a6cd18220" args="" -->
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">#define RTC_ADDR_REG&nbsp;&nbsp;&nbsp;0x70</td>
        </tr>
      </table>
</div>
<div class="memdoc">

<p>I/O address that contains the RTC address to communicate with. </p>

<p>Definido na linha <a class="el" href="../../dc/d1b/rtc_8h_source.html#l00043">43</a> do ficheiro <a class="el" href="../../dc/d1b/rtc_8h_source.html">rtc.h</a>.</p>

</div>
</div>
<a class="anchor" id="ga0ed62fab6c50790f2c4b71849f2000b2"></a><!-- doxytag: member="rtc.h::RTC_AF" ref="ga0ed62fab6c50790f2c4b71849f2000b2" args="" -->
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">#define RTC_AF&nbsp;&nbsp;&nbsp;(1 &lt;&lt; 5)</td>
        </tr>
      </table>
</div>
<div class="memdoc">

<p>1-Alarm interrupt occurred </p>

<p>Definido na linha <a class="el" href="../../dc/d1b/rtc_8h_source.html#l00075">75</a> do ficheiro <a class="el" href="../../dc/d1b/rtc_8h_source.html">rtc.h</a>.</p>

</div>
</div>
<a class="anchor" id="ga6a293d49e03a7f92a09cbb02fb49a08e"></a><!-- doxytag: member="rtc.h::RTC_AIE" ref="ga6a293d49e03a7f92a09cbb02fb49a08e" args="" -->
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">#define RTC_AIE&nbsp;&nbsp;&nbsp;(1 &lt;&lt; 5)</td>
        </tr>
      </table>
</div>
<div class="memdoc">

<p>1-Alarm interrupt enable </p>

<p>Definido na linha <a class="el" href="../../dc/d1b/rtc_8h_source.html#l00063">63</a> do ficheiro <a class="el" href="../../dc/d1b/rtc_8h_source.html">rtc.h</a>.</p>

</div>
</div>
<a class="anchor" id="ga2f258a00c59c3f347c8d2d4a75471ce0"></a><!-- doxytag: member="rtc.h::RTC_DATA_REG" ref="ga2f258a00c59c3f347c8d2d4a75471ce0" args="" -->
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">#define RTC_DATA_REG&nbsp;&nbsp;&nbsp;0x71</td>
        </tr>
      </table>
</div>
<div class="memdoc">

<p>I/O address that contains the data read from or written to the RTC. </p>

<p>Definido na linha <a class="el" href="../../dc/d1b/rtc_8h_source.html#l00044">44</a> do ficheiro <a class="el" href="../../dc/d1b/rtc_8h_source.html">rtc.h</a>.</p>

</div>
</div>
<a class="anchor" id="gafe5d31647d8882e7fa9ea7030baa2780"></a><!-- doxytag: member="rtc.h::RTC_DM" ref="gafe5d31647d8882e7fa9ea7030baa2780" args="" -->
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">#define RTC_DM&nbsp;&nbsp;&nbsp;(1 &lt;&lt; 2)</td>
        </tr>
      </table>
</div>
<div class="memdoc">

<p>Data Mode, 1-Binary, 0-BCD. </p>

<p>Definido na linha <a class="el" href="../../dc/d1b/rtc_8h_source.html#l00066">66</a> do ficheiro <a class="el" href="../../dc/d1b/rtc_8h_source.html">rtc.h</a>.</p>

</div>
</div>
<a class="anchor" id="ga18836ba9bcbd0bee568bdd21b163cae1"></a><!-- doxytag: member="rtc.h::RTC_DSE" ref="ga18836ba9bcbd0bee568bdd21b163cae1" args="" -->
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">#define RTC_DSE&nbsp;&nbsp;&nbsp;(1 &lt;&lt; 0)</td>
        </tr>
      </table>
</div>
<div class="memdoc">

<p>1-Day-light saving </p>

<p>Definido na linha <a class="el" href="../../dc/d1b/rtc_8h_source.html#l00068">68</a> do ficheiro <a class="el" href="../../dc/d1b/rtc_8h_source.html">rtc.h</a>.</p>

</div>
</div>
<a class="anchor" id="ga5911071bc2a9af2eedbabd20b1daf528"></a><!-- doxytag: member="rtc.h::RTC_DV0" ref="ga5911071bc2a9af2eedbabd20b1daf528" args="" -->
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">#define RTC_DV0&nbsp;&nbsp;&nbsp;(1 &lt;&lt; 4)</td>
        </tr>
      </table>
</div>
<div class="memdoc">

<p>Divider. </p>

<p>Definido na linha <a class="el" href="../../dc/d1b/rtc_8h_source.html#l00052">52</a> do ficheiro <a class="el" href="../../dc/d1b/rtc_8h_source.html">rtc.h</a>.</p>

</div>
</div>
<a class="anchor" id="gab24bb577503d1089e9257cb1172bdf23"></a><!-- doxytag: member="rtc.h::RTC_DV1" ref="gab24bb577503d1089e9257cb1172bdf23" args="" -->
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">#define RTC_DV1&nbsp;&nbsp;&nbsp;(1 &lt;&lt; 5)</td>
        </tr>
      </table>
</div>
<div class="memdoc">

<p>Divider. </p>

<p>Definido na linha <a class="el" href="../../dc/d1b/rtc_8h_source.html#l00051">51</a> do ficheiro <a class="el" href="../../dc/d1b/rtc_8h_source.html">rtc.h</a>.</p>

</div>
</div>
<a class="anchor" id="ga3e0bb1b127052d36bc4e5ef91e92fb89"></a><!-- doxytag: member="rtc.h::RTC_DV2" ref="ga3e0bb1b127052d36bc4e5ef91e92fb89" args="" -->
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">#define RTC_DV2&nbsp;&nbsp;&nbsp;(1 &lt;&lt; 6)</td>
        </tr>
      </table>
</div>
<div class="memdoc">

<p>Divider. </p>

<p>Definido na linha <a class="el" href="../../dc/d1b/rtc_8h_source.html#l00050">50</a> do ficheiro <a class="el" href="../../dc/d1b/rtc_8h_source.html">rtc.h</a>.</p>

</div>
</div>
<a class="anchor" id="ga01c8262113ddc3b618fb7c97395ed142"></a><!-- doxytag: member="rtc.h::RTC_IRQF" ref="ga01c8262113ddc3b618fb7c97395ed142" args="" -->
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">#define RTC_IRQF&nbsp;&nbsp;&nbsp;(1 &lt;&lt; 7)</td>
        </tr>
      </table>
</div>
<div class="memdoc">

<p>1-An interrupt occurred, if PF=PIE=1 || AF=AIE=1 || UF=UIE=1 </p>

<p>Definido na linha <a class="el" href="../../dc/d1b/rtc_8h_source.html#l00073">73</a> do ficheiro <a class="el" href="../../dc/d1b/rtc_8h_source.html">rtc.h</a>.</p>

</div>
</div>
<a class="anchor" id="ga9d9fa73fa39aa2500273df240594afe6"></a><!-- doxytag: member="rtc.h::RTC_PF" ref="ga9d9fa73fa39aa2500273df240594afe6" args="" -->
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">#define RTC_PF&nbsp;&nbsp;&nbsp;(1 &lt;&lt; 6)</td>
        </tr>
      </table>
</div>
<div class="memdoc">

<p>1-Periodic interrupt occurred </p>

<p>Definido na linha <a class="el" href="../../dc/d1b/rtc_8h_source.html#l00074">74</a> do ficheiro <a class="el" href="../../dc/d1b/rtc_8h_source.html">rtc.h</a>.</p>

</div>
</div>
<a class="anchor" id="ga8aa3ee782d809767b9e03c49c7756083"></a><!-- doxytag: member="rtc.h::RTC_PIE" ref="ga8aa3ee782d809767b9e03c49c7756083" args="" -->
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">#define RTC_PIE&nbsp;&nbsp;&nbsp;(1 &lt;&lt; 6)</td>
        </tr>
      </table>
</div>
<div class="memdoc">

<p>1-Periodic interrupt enable </p>

<p>Definido na linha <a class="el" href="../../dc/d1b/rtc_8h_source.html#l00062">62</a> do ficheiro <a class="el" href="../../dc/d1b/rtc_8h_source.html">rtc.h</a>.</p>

</div>
</div>
<a class="anchor" id="ga722a880e324ceace4b3bd27d2a540404"></a><!-- doxytag: member="rtc.h::RTC_RS0" ref="ga722a880e324ceace4b3bd27d2a540404" args="" -->
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">#define RTC_RS0&nbsp;&nbsp;&nbsp;(1 &lt;&lt; 0)</td>
        </tr>
      </table>
</div>
<div class="memdoc">

<p>Rate selector. </p>

<p>Definido na linha <a class="el" href="../../dc/d1b/rtc_8h_source.html#l00056">56</a> do ficheiro <a class="el" href="../../dc/d1b/rtc_8h_source.html">rtc.h</a>.</p>

</div>
</div>
<a class="anchor" id="gaf2b4f805675fd966c3c4173780b7b15b"></a><!-- doxytag: member="rtc.h::RTC_RS1" ref="gaf2b4f805675fd966c3c4173780b7b15b" args="" -->
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">#define RTC_RS1&nbsp;&nbsp;&nbsp;(1 &lt;&lt; 1)</td>
        </tr>
      </table>
</div>
<div class="memdoc">

<p>Rate selector. </p>

<p>Definido na linha <a class="el" href="../../dc/d1b/rtc_8h_source.html#l00055">55</a> do ficheiro <a class="el" href="../../dc/d1b/rtc_8h_source.html">rtc.h</a>.</p>

</div>
</div>
<a class="anchor" id="ga54d2328341e35419ce7111c8cf3b9d57"></a><!-- doxytag: member="rtc.h::RTC_RS2" ref="ga54d2328341e35419ce7111c8cf3b9d57" args="" -->
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">#define RTC_RS2&nbsp;&nbsp;&nbsp;(1 &lt;&lt; 2)</td>
        </tr>
      </table>
</div>
<div class="memdoc">

<p>Rate selector. </p>

<p>Definido na linha <a class="el" href="../../dc/d1b/rtc_8h_source.html#l00054">54</a> do ficheiro <a class="el" href="../../dc/d1b/rtc_8h_source.html">rtc.h</a>.</p>

</div>
</div>
<a class="anchor" id="ga151a2d40d9019b24ebc14861bbd67551"></a><!-- doxytag: member="rtc.h::RTC_RS3" ref="ga151a2d40d9019b24ebc14861bbd67551" args="" -->
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">#define RTC_RS3&nbsp;&nbsp;&nbsp;(1 &lt;&lt; 3)</td>
        </tr>
      </table>
</div>
<div class="memdoc">

<p>Rate selector. </p>

<p>Definido na linha <a class="el" href="../../dc/d1b/rtc_8h_source.html#l00053">53</a> do ficheiro <a class="el" href="../../dc/d1b/rtc_8h_source.html">rtc.h</a>.</p>

</div>
</div>
<a class="anchor" id="gaac2db7539ba4f42b7a399faedc23df39"></a><!-- doxytag: member="rtc.h::RTC_SET" ref="gaac2db7539ba4f42b7a399faedc23df39" args="" -->
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">#define <a class="el" href="../../dd/d61/rtc__asm_8asm.html#a734a79b4a925447b8e9196f7442977e6">RTC_SET</a>&nbsp;&nbsp;&nbsp;(1 &lt;&lt; 7)</td>
        </tr>
      </table>
</div>
<div class="memdoc">

<p>1-Stop updating, 0-update normally </p>

<p>Definido na linha <a class="el" href="../../dc/d1b/rtc_8h_source.html#l00061">61</a> do ficheiro <a class="el" href="../../dc/d1b/rtc_8h_source.html">rtc.h</a>.</p>

</div>
</div>
<a class="anchor" id="ga1f8f94a2096173944bc82fec3e9bbd8a"></a><!-- doxytag: member="rtc.h::RTC_SQWE" ref="ga1f8f94a2096173944bc82fec3e9bbd8a" args="" -->
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">#define RTC_SQWE&nbsp;&nbsp;&nbsp;(1 &lt;&lt; 3)</td>
        </tr>
      </table>
</div>
<div class="memdoc">

<p>1-Square Wave Enable </p>

<p>Definido na linha <a class="el" href="../../dc/d1b/rtc_8h_source.html#l00065">65</a> do ficheiro <a class="el" href="../../dc/d1b/rtc_8h_source.html">rtc.h</a>.</p>

</div>
</div>
<a class="anchor" id="ga7c63615d9172c9065f5b9d1875ef6d04"></a><!-- doxytag: member="rtc.h::RTC_UF" ref="ga7c63615d9172c9065f5b9d1875ef6d04" args="" -->
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">#define RTC_UF&nbsp;&nbsp;&nbsp;(1 &lt;&lt; 4)</td>
        </tr>
      </table>
</div>
<div class="memdoc">

<p>1-Update interrupt occurred </p>

<p>Definido na linha <a class="el" href="../../dc/d1b/rtc_8h_source.html#l00076">76</a> do ficheiro <a class="el" href="../../dc/d1b/rtc_8h_source.html">rtc.h</a>.</p>

</div>
</div>
<a class="anchor" id="ga3fa059415b73592c094cd9a3f79e6795"></a><!-- doxytag: member="rtc.h::RTC_UIE" ref="ga3fa059415b73592c094cd9a3f79e6795" args="" -->
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">#define RTC_UIE&nbsp;&nbsp;&nbsp;(1 &lt;&lt; 4)</td>
        </tr>
      </table>
</div>
<div class="memdoc">

<p>1-Update-ended interrupt enable </p>

<p>Definido na linha <a class="el" href="../../dc/d1b/rtc_8h_source.html#l00064">64</a> do ficheiro <a class="el" href="../../dc/d1b/rtc_8h_source.html">rtc.h</a>.</p>

</div>
</div>
<a class="anchor" id="ga2ebe3d816d8b2e9f1be075554e4135b3"></a><!-- doxytag: member="rtc.h::RTC_UIP" ref="ga2ebe3d816d8b2e9f1be075554e4135b3" args="" -->
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">#define RTC_UIP&nbsp;&nbsp;&nbsp;(1 &lt;&lt; 7)</td>
        </tr>
      </table>
</div>
<div class="memdoc">

<p>1-update in progress, 0-data valid for next 244 usec </p>

<p>Definido na linha <a class="el" href="../../dc/d1b/rtc_8h_source.html#l00049">49</a> do ficheiro <a class="el" href="../../dc/d1b/rtc_8h_source.html">rtc.h</a>.</p>

</div>
</div>
<a class="anchor" id="ga35577ed27885901641e6120257455adb"></a><!-- doxytag: member="rtc.h::RTC_VRT" ref="ga35577ed27885901641e6120257455adb" args="" -->
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">#define RTC_VRT&nbsp;&nbsp;&nbsp;(1 &lt;&lt; 7)</td>
        </tr>
      </table>
</div>
<div class="memdoc">

<p>1-Valid RAM and time </p>

<p>Definido na linha <a class="el" href="../../dc/d1b/rtc_8h_source.html#l00081">81</a> do ficheiro <a class="el" href="../../dc/d1b/rtc_8h_source.html">rtc.h</a>.</p>

</div>
</div>
<hr/><h2>Documentação dos valores da enumeração</h2>
<a class="anchor" id="ga4051745dcfaaa1c281868946401582bd"></a><!-- doxytag: member="rtc.h::rtc_regs" ref="ga4051745dcfaaa1c281868946401582bd" args="" -->
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">enum <a class="el" href="../../dd/da5/group__RealTimeController.html#ga4051745dcfaaa1c281868946401582bd">rtc_regs</a></td>
        </tr>
      </table>
</div>
<div class="memdoc">
<dl><dt><b>Valores da enumeração: </b></dt><dd><table border="0" cellspacing="2" cellpadding="0">
<tr><td valign="top"><em><a class="anchor" id="gga4051745dcfaaa1c281868946401582bda263b763bd1d036aaba2ecd16f4f49009"></a><!-- doxytag: member="SEC" ref="gga4051745dcfaaa1c281868946401582bda263b763bd1d036aaba2ecd16f4f49009" args="" -->SEC</em>&nbsp;</td><td>
</td></tr>
<tr><td valign="top"><em><a class="anchor" id="gga4051745dcfaaa1c281868946401582bdabe6e4050d867424272336434fc131134"></a><!-- doxytag: member="SEC_ALARM" ref="gga4051745dcfaaa1c281868946401582bdabe6e4050d867424272336434fc131134" args="" -->SEC_ALARM</em>&nbsp;</td><td>
</td></tr>
<tr><td valign="top"><em><a class="anchor" id="gga4051745dcfaaa1c281868946401582bda957e8250f68e7b5677b22397c2c1b51e"></a><!-- doxytag: member="MIN" ref="gga4051745dcfaaa1c281868946401582bda957e8250f68e7b5677b22397c2c1b51e" args="" -->MIN</em>&nbsp;</td><td>
</td></tr>
<tr><td valign="top"><em><a class="anchor" id="gga4051745dcfaaa1c281868946401582bda0096be9b850950742fdd13b90d91d317"></a><!-- doxytag: member="MIN_ALARM" ref="gga4051745dcfaaa1c281868946401582bda0096be9b850950742fdd13b90d91d317" args="" -->MIN_ALARM</em>&nbsp;</td><td>
</td></tr>
<tr><td valign="top"><em><a class="anchor" id="gga4051745dcfaaa1c281868946401582bda79aab2da0ce6d416b78895cf20661b35"></a><!-- doxytag: member="HOUR" ref="gga4051745dcfaaa1c281868946401582bda79aab2da0ce6d416b78895cf20661b35" args="" -->HOUR</em>&nbsp;</td><td>
</td></tr>
<tr><td valign="top"><em><a class="anchor" id="gga4051745dcfaaa1c281868946401582bdae172d714c8134dc3a5853ab71785458e"></a><!-- doxytag: member="HOUR_ALARM" ref="gga4051745dcfaaa1c281868946401582bdae172d714c8134dc3a5853ab71785458e" args="" -->HOUR_ALARM</em>&nbsp;</td><td>
</td></tr>
<tr><td valign="top"><em><a class="anchor" id="gga4051745dcfaaa1c281868946401582bdafcbd115094109e01349d665182e6d8ac"></a><!-- doxytag: member="WEEK_DAY" ref="gga4051745dcfaaa1c281868946401582bdafcbd115094109e01349d665182e6d8ac" args="" -->WEEK_DAY</em>&nbsp;</td><td>
</td></tr>
<tr><td valign="top"><em><a class="anchor" id="gga4051745dcfaaa1c281868946401582bda3421dd8aaa65527fa89169fae5508960"></a><!-- doxytag: member="MONTH_DAY" ref="gga4051745dcfaaa1c281868946401582bda3421dd8aaa65527fa89169fae5508960" args="" -->MONTH_DAY</em>&nbsp;</td><td>
</td></tr>
<tr><td valign="top"><em><a class="anchor" id="gga4051745dcfaaa1c281868946401582bda959a3fc667edf9cb70980483c949103a"></a><!-- doxytag: member="MONTH" ref="gga4051745dcfaaa1c281868946401582bda959a3fc667edf9cb70980483c949103a" args="" -->MONTH</em>&nbsp;</td><td>
</td></tr>
<tr><td valign="top"><em><a class="anchor" id="gga4051745dcfaaa1c281868946401582bdad327b6aedde7e5aa6a122dd9e2154f45"></a><!-- doxytag: member="YEAR" ref="gga4051745dcfaaa1c281868946401582bdad327b6aedde7e5aa6a122dd9e2154f45" args="" -->YEAR</em>&nbsp;</td><td>
</td></tr>
<tr><td valign="top"><em><a class="anchor" id="gga4051745dcfaaa1c281868946401582bda12855477f8c619848606371e3b6b1658"></a><!-- doxytag: member="RTC_STAT_A" ref="gga4051745dcfaaa1c281868946401582bda12855477f8c619848606371e3b6b1658" args="" -->RTC_STAT_A</em>&nbsp;</td><td>
</td></tr>
<tr><td valign="top"><em><a class="anchor" id="gga4051745dcfaaa1c281868946401582bda08bfa74244e769d63ef7da8cc4b03133"></a><!-- doxytag: member="RTC_STAT_B" ref="gga4051745dcfaaa1c281868946401582bda08bfa74244e769d63ef7da8cc4b03133" args="" -->RTC_STAT_B</em>&nbsp;</td><td>
</td></tr>
<tr><td valign="top"><em><a class="anchor" id="gga4051745dcfaaa1c281868946401582bda9e3a7af6b789b820eb9f4c3bd703416f"></a><!-- doxytag: member="RTC_STAT_C" ref="gga4051745dcfaaa1c281868946401582bda9e3a7af6b789b820eb9f4c3bd703416f" args="" -->RTC_STAT_C</em>&nbsp;</td><td>
</td></tr>
<tr><td valign="top"><em><a class="anchor" id="gga4051745dcfaaa1c281868946401582bda69db80366492ee8682c08281e3bedcdd"></a><!-- doxytag: member="RTC_STAT_D" ref="gga4051745dcfaaa1c281868946401582bda69db80366492ee8682c08281e3bedcdd" args="" -->RTC_STAT_D</em>&nbsp;</td><td>
</td></tr>
</table>
</dd>
</dl>

<p>Definido na linha <a class="el" href="../../dc/d1b/rtc_8h_source.html#l00034">34</a> do ficheiro <a class="el" href="../../dc/d1b/rtc_8h_source.html">rtc.h</a>.</p>

</div>
</div>
<hr/><h2>Documentação das funções</h2>
<a class="anchor" id="ga839845a3a9f35e3860e525cfe86f3405"></a><!-- doxytag: member="rtc.h::bcd2dec" ref="ga839845a3a9f35e3860e525cfe86f3405" args="(Byte i)" -->
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname"><a class="el" href="../../d8/db9/group__UserTypes.html#gae3a497195d617519e5353ea7b417940f">Byte</a> bcd2dec </td>
          <td>(</td>
          <td class="paramtype"><a class="el" href="../../d8/db9/group__UserTypes.html#gae3a497195d617519e5353ea7b417940f">Byte</a>&nbsp;</td>
          <td class="paramname"> <em>i</em></td>
          <td>&nbsp;)&nbsp;</td>
          <td></td>
        </tr>
      </table>
</div>
<div class="memdoc">
<p>converts BCD (Binary Coded Decimal) to decimal </p>

<p>Definido na linha <a class="el" href="../../d4/dcc/rtc_8c_source.html#l00006">6</a> do ficheiro <a class="el" href="../../d4/dcc/rtc_8c_source.html">rtc.c</a>.</p>

<p><div class="dynheader">
Here is the caller graph for this function:</div>
<div class="dynsection">
<div class="center"><img src="../../dd/da5/group__RealTimeController_ga839845a3a9f35e3860e525cfe86f3405_icgraph.png" border="0" usemap="#dd/da5/group__RealTimeController_ga839845a3a9f35e3860e525cfe86f3405_icgraph_map" alt=""></div>
</div>
</p>

</div>
</div>
<a class="anchor" id="ga4b857d1c0d66ceaf587d2343881252c1"></a><!-- doxytag: member="rtc.h::dec2bcd" ref="ga4b857d1c0d66ceaf587d2343881252c1" args="(Byte i)" -->
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname"><a class="el" href="../../d8/db9/group__UserTypes.html#gae3a497195d617519e5353ea7b417940f">Byte</a> dec2bcd </td>
          <td>(</td>
          <td class="paramtype"><a class="el" href="../../d8/db9/group__UserTypes.html#gae3a497195d617519e5353ea7b417940f">Byte</a>&nbsp;</td>
          <td class="paramname"> <em>i</em></td>
          <td>&nbsp;)&nbsp;</td>
          <td></td>
        </tr>
      </table>
</div>
<div class="memdoc">
<p>converts decimal to BCD (Binary Coded Decimal) </p>

<p>Definido na linha <a class="el" href="../../d4/dcc/rtc_8c_source.html#l00014">14</a> do ficheiro <a class="el" href="../../d4/dcc/rtc_8c_source.html">rtc.c</a>.</p>

<p><div class="dynheader">
Here is the caller graph for this function:</div>
<div class="dynsection">
<div class="center"><img src="../../dd/da5/group__RealTimeController_ga4b857d1c0d66ceaf587d2343881252c1_icgraph.png" border="0" usemap="#dd/da5/group__RealTimeController_ga4b857d1c0d66ceaf587d2343881252c1_icgraph_map" alt=""></div>
</div>
</p>

</div>
</div>
<a class="anchor" id="ga4a59b403e6b8da03106ab2a09ec2431f"></a><!-- doxytag: member="rtc.h::read_rtc" ref="ga4a59b403e6b8da03106ab2a09ec2431f" args="(Byte add)" -->
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname"><a class="el" href="../../d8/db9/group__UserTypes.html#gae3a497195d617519e5353ea7b417940f">Byte</a> read_rtc </td>
          <td>(</td>
          <td class="paramtype"><a class="el" href="../../d8/db9/group__UserTypes.html#gae3a497195d617519e5353ea7b417940f">Byte</a>&nbsp;</td>
          <td class="paramname"> <em>add</em></td>
          <td>&nbsp;)&nbsp;</td>
          <td></td>
        </tr>
      </table>
</div>
<div class="memdoc">
<p>Returns rtc data from I/O address add. Doesn't check valid bit </p>

<p>Definido na linha <a class="el" href="../../d4/dcc/rtc_8c_source.html#l00065">65</a> do ficheiro <a class="el" href="../../d4/dcc/rtc_8c_source.html">rtc.c</a>.</p>

<p><div class="dynheader">
Grafo de chamadas desta função:</div>
<div class="dynsection">
<div class="center"><img src="../../dd/da5/group__RealTimeController_ga4a59b403e6b8da03106ab2a09ec2431f_cgraph.png" border="0" usemap="#dd/da5/group__RealTimeController_ga4a59b403e6b8da03106ab2a09ec2431f_cgraph_map" alt=""></div>
</div>
</p>

<p><div class="dynheader">
Here is the caller graph for this function:</div>
<div class="dynsection">
<div class="center"><img src="../../dd/da5/group__RealTimeController_ga4a59b403e6b8da03106ab2a09ec2431f_icgraph.png" border="0" usemap="#dd/da5/group__RealTimeController_ga4a59b403e6b8da03106ab2a09ec2431f_icgraph_map" alt=""></div>
</div>
</p>

</div>
</div>
<a class="anchor" id="ga433f5ef3940f2cce7b17aa9771080516"></a><!-- doxytag: member="rtc.h::read_rtcv" ref="ga433f5ef3940f2cce7b17aa9771080516" args="(Byte add)" -->
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname"><a class="el" href="../../d8/db9/group__UserTypes.html#gae3a497195d617519e5353ea7b417940f">Byte</a> read_rtcv </td>
          <td>(</td>
          <td class="paramtype"><a class="el" href="../../d8/db9/group__UserTypes.html#gae3a497195d617519e5353ea7b417940f">Byte</a>&nbsp;</td>
          <td class="paramname"> <em>add</em></td>
          <td>&nbsp;)&nbsp;</td>
          <td></td>
        </tr>
      </table>
</div>
<div class="memdoc">
<p>Returns rtc data from I/O address add. Check valid bit </p>

<p>Definido na linha <a class="el" href="../../d4/dcc/rtc_8c_source.html#l00080">80</a> do ficheiro <a class="el" href="../../d4/dcc/rtc_8c_source.html">rtc.c</a>.</p>

<p><div class="dynheader">
Grafo de chamadas desta função:</div>
<div class="dynsection">
<div class="center"><img src="../../dd/da5/group__RealTimeController_ga433f5ef3940f2cce7b17aa9771080516_cgraph.png" border="0" usemap="#dd/da5/group__RealTimeController_ga433f5ef3940f2cce7b17aa9771080516_cgraph_map" alt=""></div>
</div>
</p>

<p><div class="dynheader">
Here is the caller graph for this function:</div>
<div class="dynsection">
<div class="center"><img src="../../dd/da5/group__RealTimeController_ga433f5ef3940f2cce7b17aa9771080516_icgraph.png" border="0" usemap="#dd/da5/group__RealTimeController_ga433f5ef3940f2cce7b17aa9771080516_icgraph_map" alt=""></div>
</div>
</p>

</div>
</div>
<a class="anchor" id="gaf9fab10f77d4ba102dce19c433779e91"></a><!-- doxytag: member="rtc.h::rtc_int_disable" ref="gaf9fab10f77d4ba102dce19c433779e91" args="()" -->
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">void rtc_int_disable </td>
          <td>(</td>
          <td class="paramname"></td>
          <td>&nbsp;)&nbsp;</td>
          <td></td>
        </tr>
      </table>
</div>
<div class="memdoc">

<p>Definido na linha <a class="el" href="../../d4/dcc/rtc_8c_source.html#l00038">38</a> do ficheiro <a class="el" href="../../d4/dcc/rtc_8c_source.html">rtc.c</a>.</p>

<p><div class="dynheader">
Grafo de chamadas desta função:</div>
<div class="dynsection">
<div class="center"><img src="../../dd/da5/group__RealTimeController_gaf9fab10f77d4ba102dce19c433779e91_cgraph.png" border="0" usemap="#dd/da5/group__RealTimeController_gaf9fab10f77d4ba102dce19c433779e91_cgraph_map" alt=""></div>
</div>
</p>

</div>
</div>
<a class="anchor" id="ga7e1c48bd3deb14214922fa7b179a4f97"></a><!-- doxytag: member="rtc.h::rtc_int_enable" ref="ga7e1c48bd3deb14214922fa7b179a4f97" args="()" -->
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">void rtc_int_enable </td>
          <td>(</td>
          <td class="paramname"></td>
          <td>&nbsp;)&nbsp;</td>
          <td></td>
        </tr>
      </table>
</div>
<div class="memdoc">

<p>Definido na linha <a class="el" href="../../d4/dcc/rtc_8c_source.html#l00020">20</a> do ficheiro <a class="el" href="../../d4/dcc/rtc_8c_source.html">rtc.c</a>.</p>

<p><div class="dynheader">
Grafo de chamadas desta função:</div>
<div class="dynsection">
<div class="center"><img src="../../dd/da5/group__RealTimeController_ga7e1c48bd3deb14214922fa7b179a4f97_cgraph.png" border="0" usemap="#dd/da5/group__RealTimeController_ga7e1c48bd3deb14214922fa7b179a4f97_cgraph_map" alt=""></div>
</div>
</p>

</div>
</div>
<a class="anchor" id="ga5d4cf2f0b16521c81d780708f511f6b2"></a><!-- doxytag: member="rtc.h::rtc_int_enable_periodic" ref="ga5d4cf2f0b16521c81d780708f511f6b2" args="()" -->
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">void rtc_int_enable_periodic </td>
          <td>(</td>
          <td class="paramname"></td>
          <td>&nbsp;)&nbsp;</td>
          <td></td>
        </tr>
      </table>
</div>
<div class="memdoc">

<p>Definido na linha <a class="el" href="../../d4/dcc/rtc_8c_source.html#l00027">27</a> do ficheiro <a class="el" href="../../d4/dcc/rtc_8c_source.html">rtc.c</a>.</p>

<p><div class="dynheader">
Grafo de chamadas desta função:</div>
<div class="dynsection">
<div class="center"><img src="../../dd/da5/group__RealTimeController_ga5d4cf2f0b16521c81d780708f511f6b2_cgraph.png" border="0" usemap="#dd/da5/group__RealTimeController_ga5d4cf2f0b16521c81d780708f511f6b2_cgraph_map" alt=""></div>
</div>
</p>

</div>
</div>
<a class="anchor" id="ga41fd5f9c71342629f1149063251e3827"></a><!-- doxytag: member="rtc.h::rtc_read_alarm" ref="ga41fd5f9c71342629f1149063251e3827" args="(RTC_TIME *)" -->
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">void rtc_read_alarm </td>
          <td>(</td>
          <td class="paramtype"><a class="el" href="../../d1/de0/structRTC__TIME.html">RTC_TIME</a> *&nbsp;</td>
          <td class="paramname"> <em>rt</em></td>
          <td>&nbsp;)&nbsp;</td>
          <td></td>
        </tr>
      </table>
</div>
<div class="memdoc">
<p>Read RTC stored alarm</p>
<p>Uses <a class="el" href="../../dd/da5/group__RealTimeController.html#ga433f5ef3940f2cce7b17aa9771080516">read_rtcv()</a> and <a class="el" href="../../dd/da5/group__RealTimeController.html#ga839845a3a9f35e3860e525cfe86f3405">bcd2dec()</a> </p>

<p>Definido na linha <a class="el" href="../../d4/dcc/rtc_8c_source.html#l00138">138</a> do ficheiro <a class="el" href="../../d4/dcc/rtc_8c_source.html">rtc.c</a>.</p>

<p><div class="dynheader">
Grafo de chamadas desta função:</div>
<div class="dynsection">
<div class="center"><img src="../../dd/da5/group__RealTimeController_ga41fd5f9c71342629f1149063251e3827_cgraph.png" border="0" usemap="#dd/da5/group__RealTimeController_ga41fd5f9c71342629f1149063251e3827_cgraph_map" alt=""></div>
</div>
</p>

</div>
</div>
<a class="anchor" id="gaef01346a833632b8540100f23fecdd09"></a><!-- doxytag: member="rtc.h::rtc_read_date" ref="gaef01346a833632b8540100f23fecdd09" args="(RTC_DATE *)" -->
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">void rtc_read_date </td>
          <td>(</td>
          <td class="paramtype"><a class="el" href="../../dd/d66/structRTC__DATE.html">RTC_DATE</a> *&nbsp;</td>
          <td class="paramname"> <em>rd</em></td>
          <td>&nbsp;)&nbsp;</td>
          <td></td>
        </tr>
      </table>
</div>
<div class="memdoc">
<p>Read RTC stored date</p>
<p>Uses <a class="el" href="../../dd/da5/group__RealTimeController.html#ga433f5ef3940f2cce7b17aa9771080516">read_rtcv()</a> and <a class="el" href="../../dd/da5/group__RealTimeController.html#ga839845a3a9f35e3860e525cfe86f3405">bcd2dec()</a> </p>

<p>Definido na linha <a class="el" href="../../d4/dcc/rtc_8c_source.html#l00126">126</a> do ficheiro <a class="el" href="../../d4/dcc/rtc_8c_source.html">rtc.c</a>.</p>

<p><div class="dynheader">
Grafo de chamadas desta função:</div>
<div class="dynsection">
<div class="center"><img src="../../dd/da5/group__RealTimeController_gaef01346a833632b8540100f23fecdd09_cgraph.png" border="0" usemap="#dd/da5/group__RealTimeController_gaef01346a833632b8540100f23fecdd09_cgraph_map" alt=""></div>
</div>
</p>

</div>
</div>
<a class="anchor" id="ga3554832f0cd4b7366219d8c1aa9ae321"></a><!-- doxytag: member="rtc.h::rtc_read_time" ref="ga3554832f0cd4b7366219d8c1aa9ae321" args="(RTC_TIME *)" -->
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">void rtc_read_time </td>
          <td>(</td>
          <td class="paramtype"><a class="el" href="../../d1/de0/structRTC__TIME.html">RTC_TIME</a> *&nbsp;</td>
          <td class="paramname"> <em>rt</em></td>
          <td>&nbsp;)&nbsp;</td>
          <td></td>
        </tr>
      </table>
</div>
<div class="memdoc">
<p>Read RTC stored time</p>
<p>Uses <a class="el" href="../../dd/da5/group__RealTimeController.html#ga433f5ef3940f2cce7b17aa9771080516">read_rtcv()</a> and <a class="el" href="../../dd/da5/group__RealTimeController.html#ga839845a3a9f35e3860e525cfe86f3405">bcd2dec()</a> </p>

<p>Definido na linha <a class="el" href="../../d4/dcc/rtc_8c_source.html#l00114">114</a> do ficheiro <a class="el" href="../../d4/dcc/rtc_8c_source.html">rtc.c</a>.</p>

<p><div class="dynheader">
Grafo de chamadas desta função:</div>
<div class="dynsection">
<div class="center"><img src="../../dd/da5/group__RealTimeController_ga3554832f0cd4b7366219d8c1aa9ae321_cgraph.png" border="0" usemap="#dd/da5/group__RealTimeController_ga3554832f0cd4b7366219d8c1aa9ae321_cgraph_map" alt=""></div>
</div>
</p>

</div>
</div>
<a class="anchor" id="gae9b349676544e84360bb9278ef4c0a96"></a><!-- doxytag: member="rtc.h::rtc_valid" ref="gae9b349676544e84360bb9278ef4c0a96" args="()" -->
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">void rtc_valid </td>
          <td>(</td>
          <td class="paramname"></td>
          <td>&nbsp;)&nbsp;</td>
          <td></td>
        </tr>
      </table>
</div>
<div class="memdoc">
<p>Wait until data in rtc is valid. Data is valid until +/- 240 usec after this function returns, thus a read/write can be done to the RTC within this time period </p>

<p>Definido na linha <a class="el" href="../../d4/dcc/rtc_8c_source.html#l00048">48</a> do ficheiro <a class="el" href="../../d4/dcc/rtc_8c_source.html">rtc.c</a>.</p>

<p><div class="dynheader">
Grafo de chamadas desta função:</div>
<div class="dynsection">
<div class="center"><img src="../../dd/da5/group__RealTimeController_gae9b349676544e84360bb9278ef4c0a96_cgraph.png" border="0" usemap="#dd/da5/group__RealTimeController_gae9b349676544e84360bb9278ef4c0a96_cgraph_map" alt=""></div>
</div>
</p>

<p><div class="dynheader">
Here is the caller graph for this function:</div>
<div class="dynsection">
<div class="center"><img src="../../dd/da5/group__RealTimeController_gae9b349676544e84360bb9278ef4c0a96_icgraph.png" border="0" usemap="#dd/da5/group__RealTimeController_gae9b349676544e84360bb9278ef4c0a96_icgraph_map" alt=""></div>
</div>
</p>

</div>
</div>
<a class="anchor" id="gab5992248e26867cf6bb3b08aa822b37e"></a><!-- doxytag: member="rtc.h::rtc_write_alarm" ref="gab5992248e26867cf6bb3b08aa822b37e" args="(RTC_TIME *)" -->
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">void rtc_write_alarm </td>
          <td>(</td>
          <td class="paramtype"><a class="el" href="../../d1/de0/structRTC__TIME.html">RTC_TIME</a> *&nbsp;</td>
          <td class="paramname"> <em>rt</em></td>
          <td>&nbsp;)&nbsp;</td>
          <td></td>
        </tr>
      </table>
</div>
<div class="memdoc">
<p>Write alarm to RTC</p>
<p>Uses <a class="el" href="../../dd/da5/group__RealTimeController.html#ga28ed5315f068afb9339b74dd434c04bd">write_rtcv()</a> and <a class="el" href="../../dd/da5/group__RealTimeController.html#ga4b857d1c0d66ceaf587d2343881252c1">dec2bcd()</a> </p>

<p>Definido na linha <a class="el" href="../../d4/dcc/rtc_8c_source.html#l00150">150</a> do ficheiro <a class="el" href="../../d4/dcc/rtc_8c_source.html">rtc.c</a>.</p>

<p><div class="dynheader">
Grafo de chamadas desta função:</div>
<div class="dynsection">
<div class="center"><img src="../../dd/da5/group__RealTimeController_gab5992248e26867cf6bb3b08aa822b37e_cgraph.png" border="0" usemap="#dd/da5/group__RealTimeController_gab5992248e26867cf6bb3b08aa822b37e_cgraph_map" alt=""></div>
</div>
</p>

</div>
</div>
<a class="anchor" id="ga18c4e040accb4c214682d5605f596e60"></a><!-- doxytag: member="rtc.h::write_rtc" ref="ga18c4e040accb4c214682d5605f596e60" args="(Byte add, Byte value)" -->
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">void write_rtc </td>
          <td>(</td>
          <td class="paramtype"><a class="el" href="../../d8/db9/group__UserTypes.html#gae3a497195d617519e5353ea7b417940f">Byte</a>&nbsp;</td>
          <td class="paramname"> <em>add</em>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype"><a class="el" href="../../d8/db9/group__UserTypes.html#gae3a497195d617519e5353ea7b417940f">Byte</a>&nbsp;</td>
          <td class="paramname"> <em>value</em></td><td>&nbsp;</td>
        </tr>
        <tr>
          <td></td>
          <td>)</td>
          <td></td><td></td><td></td>
        </tr>
      </table>
</div>
<div class="memdoc">
<p>Write value to I/O address add. Doesn't check valid bit </p>

<p>Definido na linha <a class="el" href="../../d4/dcc/rtc_8c_source.html#l00089">89</a> do ficheiro <a class="el" href="../../d4/dcc/rtc_8c_source.html">rtc.c</a>.</p>

<p><div class="dynheader">
Grafo de chamadas desta função:</div>
<div class="dynsection">
<div class="center"><img src="../../dd/da5/group__RealTimeController_ga18c4e040accb4c214682d5605f596e60_cgraph.png" border="0" usemap="#dd/da5/group__RealTimeController_ga18c4e040accb4c214682d5605f596e60_cgraph_map" alt=""></div>
</div>
</p>

<p><div class="dynheader">
Here is the caller graph for this function:</div>
<div class="dynsection">
<div class="center"><img src="../../dd/da5/group__RealTimeController_ga18c4e040accb4c214682d5605f596e60_icgraph.png" border="0" usemap="#dd/da5/group__RealTimeController_ga18c4e040accb4c214682d5605f596e60_icgraph_map" alt=""></div>
</div>
</p>

</div>
</div>
<a class="anchor" id="ga28ed5315f068afb9339b74dd434c04bd"></a><!-- doxytag: member="rtc.h::write_rtcv" ref="ga28ed5315f068afb9339b74dd434c04bd" args="(Byte add, Byte value)" -->
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">void write_rtcv </td>
          <td>(</td>
          <td class="paramtype"><a class="el" href="../../d8/db9/group__UserTypes.html#gae3a497195d617519e5353ea7b417940f">Byte</a>&nbsp;</td>
          <td class="paramname"> <em>add</em>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype"><a class="el" href="../../d8/db9/group__UserTypes.html#gae3a497195d617519e5353ea7b417940f">Byte</a>&nbsp;</td>
          <td class="paramname"> <em>value</em></td><td>&nbsp;</td>
        </tr>
        <tr>
          <td></td>
          <td>)</td>
          <td></td><td></td><td></td>
        </tr>
      </table>
</div>
<div class="memdoc">
<p>Write value to I/O address add. Check valid bit </p>

<p>Definido na linha <a class="el" href="../../d4/dcc/rtc_8c_source.html#l00103">103</a> do ficheiro <a class="el" href="../../d4/dcc/rtc_8c_source.html">rtc.c</a>.</p>

<p><div class="dynheader">
Grafo de chamadas desta função:</div>
<div class="dynsection">
<div class="center"><img src="../../dd/da5/group__RealTimeController_ga28ed5315f068afb9339b74dd434c04bd_cgraph.png" border="0" usemap="#dd/da5/group__RealTimeController_ga28ed5315f068afb9339b74dd434c04bd_cgraph_map" alt=""></div>
</div>
</p>

<p><div class="dynheader">
Here is the caller graph for this function:</div>
<div class="dynsection">
<div class="center"><img src="../../dd/da5/group__RealTimeController_ga28ed5315f068afb9339b74dd434c04bd_icgraph.png" border="0" usemap="#dd/da5/group__RealTimeController_ga28ed5315f068afb9339b74dd434c04bd_icgraph_map" alt=""></div>
</div>
</p>

</div>
</div>
</div>
<!--- window showing the filter options -->
<div id="MSearchSelectWindow"
     onmouseover="return searchBox.OnSearchSelectShow()"
     onmouseout="return searchBox.OnSearchSelectHide()"
     onkeydown="return searchBox.OnSearchSelectKey(event)">
<a class="SelectItem" href="javascript:void(0)" onclick="searchBox.OnSelectItem(0)"><span class="SelectionMark">&nbsp;</span>Tudo</a><a class="SelectItem" href="javascript:void(0)" onclick="searchBox.OnSelectItem(1)"><span class="SelectionMark">&nbsp;</span>Estruturas de dados</a><a class="SelectItem" href="javascript:void(0)" onclick="searchBox.OnSelectItem(2)"><span class="SelectionMark">&nbsp;</span>Ficheiros</a><a class="SelectItem" href="javascript:void(0)" onclick="searchBox.OnSelectItem(3)"><span class="SelectionMark">&nbsp;</span>Funções</a><a class="SelectItem" href="javascript:void(0)" onclick="searchBox.OnSelectItem(4)"><span class="SelectionMark">&nbsp;</span>Variáveis</a><a class="SelectItem" href="javascript:void(0)" onclick="searchBox.OnSelectItem(5)"><span class="SelectionMark">&nbsp;</span>Definições de tipos</a><a class="SelectItem" href="javascript:void(0)" onclick="searchBox.OnSelectItem(6)"><span class="SelectionMark">&nbsp;</span>Enumerações</a><a class="SelectItem" href="javascript:void(0)" onclick="searchBox.OnSelectItem(7)"><span class="SelectionMark">&nbsp;</span>Valores da enumeração</a><a class="SelectItem" href="javascript:void(0)" onclick="searchBox.OnSelectItem(8)"><span class="SelectionMark">&nbsp;</span>Macros</a></div>

<!-- iframe showing the search results (closed by default) -->
<div id="MSearchResultsWindow">
<iframe src="" frameborder="0" 
        name="MSearchResults" id="MSearchResults">
</iframe>
</div>

<hr class="footer"/><address style="text-align: right;"><small>Gerado em Tue Jun 1 21:46:47 2010 para FEUP-Defender por&nbsp;
<a href="http://www.doxygen.org/index.html">
<img class="footer" src="../../doxygen.png" alt="doxygen"/></a> 1.6.3 </small></address>
</body>
</html>
